package com.dunka.demo.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.type.Alias;

/**
 * @Author Dunka
 * @Description //TODO
 * @Date 10:24   2019/7/25
 * @ClassName Data_Dictionary
 */
@Alias("data_dictionary")
@ApiModel("数据字典实体")
public class Data_Dictionary {

        @ApiModelProperty("数据字典id")
        private int id;
        @ApiModelProperty("数据表中的字段名")
        private String field;
        @ApiModelProperty("对应的字段描述")
        private String description;
        @ApiModelProperty("对应的字段类型")
        private String type;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Data_Dictionary{" +
                "id=" + id +
                ", field='" + field + '\'' +
                ", description='" + description + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
